/**
 * Created by XiaAo on 2017/3/20.
 * function :老师路由配置
 * author ：xiaao
 * data : 2017-3-20
 */

var ngModuleStudent = angular.module("ngModule_Student", []);

ngModuleStudent.config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {

    $urlRouterProvider.otherwise("");

    $stateProvider
    //学生路由
        .state('student', {
            url: '/student',
            //parent: 'home',
            templateUrl: '../view/uiView/leftBar/studentLeftBar.html'
        })
        .state('student.studentStatus', {
            url: '/studentStatus',
            templateUrl: "../view/uiView/studentUser/studentStatus.html"
        })
        .state('student.studentClass', {
            url: '/studentClass',
            templateUrl: "../view/uiView/studentUser/studentClass.html"
        })
        .state('student.studentLib', {
            url: '/studentLib',
            templateUrl: "../view/uiView/studentUser/studentLib.html"
        })
        .state('student.student1', {
            url: '/student1',
            templateUrl: "../view/uiView/studentUser/student1.html"
        })

}]);

module.exports = ngModuleStudent;

